'''
Created on 2024年7月28日

@author: Administrator
'''
from pathlib import Path
import csv


class TemperatureData:
    def __init__(self,filename):
        self.filename = filename
        self.path = Path(self.filename)
    
    def lines(self):    
        return self.path.read_text().splitlines()
    
    def reader(self):
        return csv.reader(self.lines())

